import Vue from 'vue'
import VueRouter from 'vue-router'
import One from '@/views/one.vue'
import Two from '@/views/two.vue'
import Three from '@/views/three.vue'
import Four from '@/views/four.vue'
import Five from '@/views/five.vue'
import Six from '@/views/six.vue'
import Seven from '@/views/seven.vue'
import Eight from '@/views/eight.vue'
import Nine from '@/views/nine.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/one'
  },
  {
    path: '/one',
    component: One
  },
  {
    path: '/two',
    component: Two
  },
  {
    path: '/three',
    component: Three
  },
  {
    path: '/four',
    component: Four
  },
  {
    path: '/five',
    component: Five
  },
  {
    path: '/six',
    component: Six
  },
  {
    path: '/seven',
    component: Seven
  },
  {
    path: '/eight',
    component: Eight
  },
  {
    path: '/nine',
    component: Nine
  }

]

const router = new VueRouter({
  routes
})

export default router
